import requests
from config import RunConfig

def 项目工点实时进度(para):
    response = requests.get(
        url=RunConfig.url + "phy/project/engineer/schedule?projectId=",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 在建项目完成量(para):
    response = requests.get(
        url=RunConfig.url + "phy/project/complete/count",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 年度项目统计(para):
    response = requests.get(
        url=RunConfig.url + "phy/year/project/count",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 单位工作进度(para):
    response = requests.get(
        url=RunConfig.url + "phy/unit/work/schedule?projectId=",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 工点工作进度(para):
    response = requests.get(
        url=RunConfig.url + "phy/engineer/work/schedule?projectId=",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 查询地质勘探大屏项目分布(para):
    response = requests.get(
        url=RunConfig.url + "getGpsProjectList?projectId=",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 工点实时进度(para):
    response = requests.get(
        url=RunConfig.url + "phy/engineer/realTime/schedule?projectId=",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 勘探方法统计(para):
    response = requests.get(
        url=RunConfig.url + "phy/explore/method/count",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 方法工作进度(para):
    response = requests.get(
        url=RunConfig.url + "phy/method/work/schedule?projectId=",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 已完结项目列表(para):
    response = requests.get(
        url=RunConfig.url + "phy/project/complete/list",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 项目信息(para):
    response = requests.get(
        url=RunConfig.url + "phy/project/info?projectId=",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 生产组织情况统计(para):
    response = requests.get(
        url=RunConfig.url + "phy/organization/count",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 在建项目进度(para):
    response = requests.get(
        url=RunConfig.url + "phy/project/schedule",
        headers=RunConfig.headers,
        verify=False
    )
    return response
